package com.xinsoft.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xinsoft.entity.dto.ScmPurchaseNoticePageParam;
import com.xinsoft.entity.dto.ScmPurchasePageParam;
import com.xinsoft.entity.po.ScmPurchaseNotice;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xinsoft.entity.vo.ScmPurchaseNoticePageVo;
import com.xinsoft.entity.vo.ScmPurchaseNoticeVo;
import com.xinsoft.entity.vo.ScmPurchasePageVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 13370
* @description 针对表【scm_purchase_notice(收料通知)】的数据库操作Mapper
* @createDate 2023-07-20 20:22:01
* @Entity com.xinsoft.entity.po.ScmPurchaseNotice
*/
public interface ScmPurchaseNoticeMapper extends BaseMapper<ScmPurchaseNotice> {

    IPage<ScmPurchaseNoticePageVo> findListByParam(Page<ScmPurchaseNoticePageVo> page, @Param("param") ScmPurchaseNoticePageParam purchaseNoticePageParam);
    List<ScmPurchaseNoticePageVo> findListByParam(@Param("param") ScmPurchaseNoticePageParam scmPurchasePageParam);

    ScmPurchaseNoticeVo getScmPurchaseNotice(@Param("id") Integer id);
}




